uDig

«  Working with Selection   ::   Contents   ::   Selection using CQL  »

Selection using Attributes

You can define a selection by matching attributes:

  1. Select a Feature Layer is the Layer View
  2. Open the Table View
  3. Select an Attribute from the list (or choose All)
  4. Type in the value you are searching for.
  5. Press Enter, the table and Map selection selection will be updated accordingly

Examples

hello will match any word containing the string hello
\Ahello will match any word that starts with hello
\Ahello\Z Exactly matches the word hello
\Ahello|\Aboo will match strings that start with hello or boo
\Ahe.*o\Z will match strings that start with he and ends with o
[ln] will match any string that contains l or n
\A[ln] will match many string that starts with l or n

Note

The search is NOT case sensitive.

In most cases \A can be replaced with ^ (start of line) and \Z can be replaced with $ (end of line)

Related reference

Table view

Selection using CQL

Regular Expression

«  Working with Selection   ::   Contents   ::   Selection using CQL  »